const express = require('express'); 
const router = express.Router();
const { Operlog } = require('../../models/operlog');

// 查询
router.get('/search', async (req, res) => {
	const data = await Operlog.find();
	res.json({
		code:200,
		msg: '日志查询成功',
		data: data,
	});
});


module.exports = router;
